package com.leap.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leap.entity.Comment;
import com.leap.entity.dto.CommentDTO;
import com.leap.entity.vo.CommentChildVO;

import java.util.List;

public interface CommentService extends IService<Comment> {

    List<CommentChildVO> selectChildListById(Long commentId, List<Long> interactComments);

    Comment saveDTO(CommentDTO commentDTO, Long accountId);

    void deleteDTO(Long commentId);

    Long getSumByChannelId(int channelId);
}
